package dd.prog2.exercises.set04;

public interface Vector{

	/*2 V addieren*/
	Vector add(Vector v2) throws ArithmeticException ;
	/*2 V substr*/
	Vector sub(Vector v2) throws ArithmeticException ;
	/*SkalarMult von 2 V*/
	double mul(Vector v2) throws ArithmeticException ;

	public String toString();

//- - - - - - - - - setter
	/*Element in V setzen*/
	public void setVi(double value, int index);
	/*alle Elemente in V setzen*/
	public void setall(double value);

//- - - - - - - - - getter
	/* ein Element lesen*/
	public double getVi(int index);
	/*Groesse von V*/
	public int getLength();
}
